<?php //debug($paralelos);      ?>
<div class="row-fluid">
    <div class="span12">
        <h3 class="heading">Alumno  Paralelos</h3> 
        <table class="table table-striped table-bordered dTableR" id="dt_a">
            <thead>
                <tr>                                          
                    <th>Alumno</th>
                    <th>Paralelo</th>                    
                    <th>Acciones</th>     
                </tr>
            </thead
            <tbody>
                <?php foreach ($alumnosParalelos as $alu): ?>
                <?php //debug($alumnosParalelos);?>
                    <?php $idAlump = $alu['AlumnosParalelo']['id']; ?>
                    <tr>                                                 
                        <td><?php echo $alu['Alumno']['nombre']; ?></td>
                        <td><?php echo $alu['Paralelo']['nombre']; ?></td>                        
                        <td><?php echo $this->Html->link('EDITAR',array('action'=>'editar',$alu['AlumnosParalelo']['id']));?>                                      
                            <?php echo $this->Html->link('ELIMINAR',array('action'=>'eliminar',$alu['AlumnosParalelo']['id']),null,('Desea aliminar este Alumno.....!!!!!')); ?>
                        </td>
                    </tr>
                    <?php
                endforeach;
                ?>
            </tbody>
        </table>                
    </div>   
</div>
<!-- sidebar -->
<?php echo $this->element('menumaterias'); ?>
<!-- fin sidebar -->
<?php //llamamos scripts tablas ?>
<?php echo $this->element('jstablas'); ?>

<?php echo $this->Html->link('NUEVO ALUMNO PARALELO', array('action' => 'insertar'), array('class' => 'buttonS bGreen ')); ?>